#ifndef ORG_WXW0303_SYMBOL_DB_LOGUTIL_H
#define ORG_WXW0303_SYMBOL_DB_LOGUTIL_H

#define LOG(level,format,...)  \
    printf(#level ";" format "\n",##__VA_ARGS__)

#define LOGE(format,...) LOG(ERROR,format,##__VA_ARGS__)
#define LOGI(format,...) LOG(INFO,format,##__VA_ARGS__)
#define LOGW(format,...) LOG(WARNNING,format,##__VA_ARGS__)
#define LOGD(format,...) LOG(DEBUG,"%s:" format,__PRETTY_FUNCTION__,##__VA_ARGS__)

#endif // ORG_WXW0303_SYMBOL_DB_LOGUTIL_H
